function messageList() {
	$.ajax({
		url: 'message.spring?action=messagelist',
		method:'post',
		success:function(html) {
			$(".parsingPage").html(html);
		},
		error:function(){
			alert("fail"); 
		}

	});
}

function groupPaging(url, viewPage,controller) {
	
	$.ajax({
		url: controller +'.spring',
		method:'post',
		data: url,
		success:function(html) {
			$(viewPage).html(html);
		}
		
	});
}

function messageView(messageNo) {
    window.open("message.spring?action=messageview&messageNo=" + messageNo,"_blank","toolbar=yes, location=yes, directories=no," +
        " status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=500, height=350");

}
